package com.mikufufu.blog.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mikufufu.blog.model.dto.api.AlbumPageParam;
import com.mikufufu.blog.model.entity.Album;
import com.mikufufu.blog.mapper.AlbumMapper;
import com.mikufufu.blog.model.vo.api.AlbumVO;
import com.mikufufu.blog.service.AlbumService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 相册表 服务实现类
 * </p>
 *
 * @author moxiaoli
 * @since 2025-08-07
 */
@Service
public class AlbumServiceImpl extends ServiceImpl<AlbumMapper, Album> implements AlbumService {

    @Override
    public IPage<AlbumVO> getAlbumPage(AlbumPageParam param) {
        return baseMapper.getAlbumPage(param.getPage(),param);
    }
}
